<template>
    <div class="event_box">
        <div class="event_top">
            <div class="event_item">
                <span class="event_title">故障总量</span>
                <div class="event_data">54</div>
            </div>
            <div class="event_item">
                <span class="event_title">环比</span>
                <div class="event_data">3.15%</div>
            </div>
        </div>
        <gauge></gauge>
    </div>
</template>

<script>
    import gauge from "./gauge";
    export default {
        name: "event",
        mounted() {
        },
        components:{
            gauge
        },
        methods:{

        }

    }
</script>

<style scoped>
    .event_box{

    }
    .event_top{
        width: 100%;
        height: 1rem;
        display: flex;
        justify-content: space-around;
    }
.event_item{
    width: 1.6rem;
    height: 0.8rem;
    background: url("../../assets/image/border1.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.event_title{
    margin-top: 0.0625rem;
    margin-left: 0.125rem;
    color: #ffffff;
    font-size: 0.175rem;
}
    .event_data{
        /*position: absolute;*/
        /*border-bottom: 0.025rem;*/
        text-align: center;
        color: #1acacc;
        font-size: 0.3rem;
    }
</style>
